<template>
  <view class="container">
    <view class="common_cell">
      <u-cell-group>
        <u-cell :border="false" title="全天" label="24小时">
          <u-switch slot="value" v-model="isAllDay"></u-switch>
        </u-cell>
        <u-cell :border="false" title="白天" label="从日出到日落">
          <u-switch slot="value" v-model="isDay"></u-switch>
        </u-cell>
        <u-cell :border="false" title="夜间" label="从日落到日出">
          <u-switch slot="value" v-model="isNight"></u-switch>
        </u-cell>
        <u-cell :border="false" title="自定义" label="手动设定时间段">
          <u-switch slot="value" v-model="isCustom"></u-switch>
        </u-cell>
      </u-cell-group>
    </view>
    <view class="common_cell">
      <u-cell :border="false" title="每天" > 
      </u-cell>
    </view>
  </view>
</template>
  
  <script>
import * as Api from "@/api/page";
import { checkLogin } from "@/core/app";
import * as UserApi from "@/api/user";

const App = getApp();

export default {
  components: {},
  data() {
    return {
      // 页面参数
      options: {},
      isAllDay: false,
      isDay: false,
      isNight: false,
      isCustom: false,
    };
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad(options) {},

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {},

  methods: {},
};
</script>
  
  <style lang="scss" scoped>
.container {
  background: #f6f7fb;
  padding: 34.091rpx 25.568rpx 25.568rpx 25.568rpx;
}
</style>
  